package com.central.task.service;

import com.central.task.model.QuoteResource;
import com.central.common.model.ResourceInfo;
import com.central.common.model.Result;
import com.central.common.model.SysUser;
import com.central.common.service.ISuperService;

import java.util.List;

/**
 * @author Tindy
 * @date 2021/11/29
 * @describe
 */
public interface IResourceManageService extends ISuperService<ResourceInfo> {

    List<ResourceInfo> findChilds(Long id);

    QuoteResource findQuote(Long id);

    List<ResourceInfo> findOnes(Long proId, Long parentId);

    Result delete(SysUser user, Long id);

    Result create(SysUser user, ResourceInfo resourceInfo);

    Long quoteResource(Long resourceId, String msg);

    void delQuotes(List<Long> ids);

    List<ResourceInfo> findResByIds(List<Long> ids);
}